package com.zt.controller;

import com.zt.service.FinancialTransactionService;
import com.zt.utils.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("financialTransaction")
public class FinancialTransactionController {
    @Resource
    private FinancialTransactionService financialTransactionService;
    @GetMapping("financialTransactionList")
    public Result financialTransactionById() {
        return financialTransactionService.financialTransactionList();
    }
}
